<template>
  <div class="nav-root">
    <div class="nav-card">
      <h1>设备调试信息收集系统</h1>
      <div class="btn-group">
        <el-button type="primary" size="large" @click="goToCollect(1)">一组</el-button>
        <el-button type="primary" size="large" @click="goToCollect(2)">二组</el-button>
        <el-button type="primary" size="large" @click="goToCollect(3)">三组</el-button>
        <el-button type="primary" size="large" @click="goToCollect(4)">四组</el-button>
        <el-button type="primary" size="large" @click="goToCollect(5)">五组</el-button>
        <el-button type="primary" size="large" @click="goToCollect(6)">六组</el-button>
      </div>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
function goToCollect(userId) {
  router.push({ name: 'TeachingCollectAll', query: { user_id: userId } })
}
</script>

<style scoped>
.nav-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.nav-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 36px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.nav-card h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 0;
}
.btn-group {
  display: flex;
  gap: 24px;
}
</style> 